package edu.java.ishop.dao;

import java.util.List;

import edu.java.ishop.model.Model;

//in the interface all methods are public
//works only with those object which extends Model

public interface ItemDao<T extends Model> { 
	List<T> getAll();
	T getById(long Id);
	void save(T item);
	void delete(T item);
}
